//////// CoreEngine.h 
/* This is the central part of the game engine. It's purpose is to maanage interaction between
the various sub-engines	(such as the rendering and physics engines) and game itself */

#ifndef COREENGINE_H
#define COREENGINE

#include <string>
#include "RenderingEngine.h"

class CoreEngine
{
public:
	CoreEngine(double frameRate, Window* window, RenderingEngine* renderingEngine);
	
	void Start();			// Starts running the game. Contains the central game loop
	void Stop();			// Stops running the game. Disables all subsystems

private:
	bool m_isRunning;		// Wheter or not is the engine running
	double m_frameTime;		// How long, in seconds, one frame should take
	Window* m_window;

};


#endif